#ifndef CL_EVENT_H
#define CL_EVENT_H

#ifdef __APPLE__
#include <OpenCL/opencl.h>
#else
#include <CL/cl.h>
#endif

class CLEventPrivate;
class CLEvent
{
public:
    explicit CLEvent();
    virtual ~CLEvent();
    cl_event* event() const;
    bool profiling();
    cl_ulong queueTime() const;
    cl_ulong submitTime() const;
    cl_ulong startTime() const;
    cl_ulong endTime()   const;
private:
    CLEventPrivate* d_ptr;
};

#endif
